package com.xinyues.gamemanager.dao;

import org.springframework.data.mongodb.repository.MongoRepository;
import com.xinyues.gamemanager.dao.entity.GmAccount;

public interface GmAccountRepository extends MongoRepository<GmAccount, Long>{
        
    public GmAccount findByUsernameAndPassword(String username,String password);
    public GmAccount findByUsername(String username);
}
